package service;

import bean.Product;
import dao.productDao;

import java.util.List;

public class ProductService {
    private productDao pd = new productDao();
    public List<Product> findAllProduct(){
        return pd.findAllProduct();
    }
    public Product findfindProductByPid(int pid){
        return pd.findProductByPid(pid);
    }


}
